package com.lancoo.ccas53.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lancoo.ccas53.entity.UserSetting;

/**
 * <p>
 * 用户设置 服务类
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
public interface UserSettingService extends IService<UserSetting> {

    /**
     * 根据用户id获取用户设置
     *
     * @param userId
     * @return
     */
    UserSetting getUserSettingByUserId(String userId);

    /**
     * 更新用户设置
     *
     * @param userSetting
     * @return
     */
    boolean updateUserSetting(UserSetting userSetting);

}
